﻿using BPMN.Application.Contracts.DTO.Disposition;
using BPMN.Domain.Entity.Disposition;
using BPMN.Domain.Entity.Material;
using BPMN.Domain.Entity.Unit;
using BPMN.Domain.ProcessModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BPMN.Application.IService.Disposition
{
    public interface IDispositionService
    {
        /// <summary>
        /// 列表显示
        /// </summary>
        /// <returns></returns>
        List<DispositionDto> GetDispositions(string ?name, int pageIndex, int pageSize, out int totalCount, out int pagerCount);
        /// <summary>
        /// 添加绩效配置
        /// </summary>
        /// <param name="dis"></param>
        /// <returns></returns>
        bool AddDisposition(disposition dis);
        /// <summary>
        /// 根据id获取绩效配置
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        disposition disposition(int id);
        /// <summary>
        /// 修改绩效配置
        /// </summary>
        /// <param name="dis"></param>
        /// <returns></returns>
        bool updateDisposition(disposition dis);
        /// <summary>
        /// 批量逻辑删除
        /// </summary>
        /// <param name="longs"></param>
        /// <returns></returns>
        bool plDelte(List<long> longs);
        /// <summary>
        /// 单位列表显示
        /// </summary>
        /// <returns></returns>
        List<Units> GetUnits();
        /// <summary>
        /// 工序列表显示
        /// </summary>
        /// <returns></returns>
        List<ProcessShows> GetProcessShows();
        //产品列表显示
        List<Products> GetProducts();


    }
}
